package com.gjsrmyy.edi.entity;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ParamHead {
    @XmlElement(name = "ID")
    private String id;
    @XmlElement(name = "YDDWDM")
    private String yddwdm;
    @XmlElement(name = "FUN")
    private String fun;
    @XmlElement(name = "TIME")
    private String time;

    public ParamHead() {
        Date d = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        this.time = sdf.format(d);
    }

    @XmlTransient
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @XmlTransient
    public String getYddwdm() {
        return yddwdm;
    }

    public void setYddwdm(String yddwdm) {
        this.yddwdm = yddwdm;
    }

    @XmlTransient
    public String getFun() {
        return fun;
    }

    public void setFun(String fun) {
        this.fun = fun;
    }

    @XmlTransient
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
